package com.java2007.mapper;

import com.java2007.pojo.Admin;
import org.apache.ibatis.annotations.Param;

/**
 * @author zy
 * @version V1.0
 * @date 2021/03/10
 */
public interface AdminMapper {
    /**
     * 根据管理员账户查找管理员账户相关信息
     * @param adminName
     * @return
     */
    Admin findByAdminName(String adminName);

    void updatePassword(@Param("reNewPasswd") String reNewPasswd, @Param("adminId") Long adminId);
}
